﻿using PairingMatrix.Common.Command;

namespace PairingMatrix.ViewModel
{
    public class TabsViewModel : ViewModelBase
    {
        private readonly CardWallViewModel _cardWallViewModel;

        public TabsViewModel(CardWallViewModel cardWallViewModel)
        {
            this._cardWallViewModel = cardWallViewModel;
        }

        private RelayCommand _showStoryWallCommand;
        public RelayCommand ShowStoryWallCommand
        {
            get {
                return _showStoryWallCommand ?? (_showStoryWallCommand = new RelayCommand(param => _cardWallViewModel.ShowStoryWallCommand.Execute(param)));
            }
        }

        private RelayCommand _showRegressionWallCommand;
        public RelayCommand ShowRegressionWallCommand
        {
            get {
                return _showRegressionWallCommand ?? (_showRegressionWallCommand = new RelayCommand(param => _cardWallViewModel.ShowRegressionWallCommand.Execute(null)));
            }
        }

        private RelayCommand _showDpsWallCommand;
        public RelayCommand ShowDpsWallCommand
        {
            get {
                return _showDpsWallCommand ?? (_showDpsWallCommand = new RelayCommand(param => _cardWallViewModel.ShowDpsWallCommand.Execute(null)));
            }
        }


        
    }
}